package COM.ZYC01;

public class Cirle {
     private double r;//半径
    public Cirle(){
        this.r = 1;
    }
    public double getR(){
        return r;
    }
    //数据传递
    public void setR(double r){
        this.r = r;
    }
    public double findArea(){
        double s = 3.14 * r * r;
        return s;
    }




}
